package com.wf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 地区表
 * </p>
 *
 * @author wfs
 * @since 2022-06-26
 */
@Getter
@Setter
  @TableName("sys_region")
@ApiModel(value = "Region对象", description = "地区表")
public class Region implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("地区主键编号")
      @TableId(value = "region_id", type = IdType.AUTO)
      private String id;

      @ApiModelProperty("地区名称")
      private String regionName;

      @ApiModelProperty("地区缩写")
      private String regionShortName;

      @ApiModelProperty("行政地区编号")
      private String regionCode;

      @ApiModelProperty("地区父id")
      private String regionParentId;

      @ApiModelProperty("地区级别 1-省、自治区、直辖市 2-地级市、地区、自治州、盟 3-市辖区、县级市、县")
      private Integer regionLevel;


}
